sources=src/run_command.hpp src/get_command.hpp src/prompt.hpp
# get_command.hpp  prompt.hpp  run_command.hpp
outpath=out
CC=g++
flags=-w -O2
edit:main

main:main.cpp ${sources}
	${CC} main.cpp ${flags} -o ${outpath}/tsh
	
run:${outpath}/tsh
	@./${outpath}/tsh
.PHONY:test
test:out/test
	./$<
out/test:test/signal.cpp
	$(CC) $< ${flags} -o out/test
